package com.acane.instagram.feature.main

import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel


class MainViewModel: ViewModel() {
    // 当前选中的主页面路由
    var currentMainDestination by mutableStateOf(TopLevelDestination.HOME.route)
        private set

    // 更新主页面路由
    fun updateMainDestination(route: String) {
        currentMainDestination = route
    }











}